//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package cn.maxhou.sz0003;

import java.lang.reflect.Method;

public class PersonMothod {
    public static void main(String[] args) {
        try {
            Class cls = Class.forName("cn.maxhou.entity.Person");
            Object person = cls.newInstance();
            Method setName = cls.getMethod("setName", String.class);
            setName.invoke(person, "侯弈海");
            Object returnName = cls.getDeclaredMethod("getName").invoke(person);
            System.out.println(returnName);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
